package reflex_and_annotation.d_annotation.entity;

import lombok.Data;
import reflex_and_annotation.d_annotation.annotation.Column;
import reflex_and_annotation.d_annotation.annotation.Table;

import java.util.Date;

@Data
@Table(tableName = "student")
public class Student {

    @Column(name = "id", isId = true, isBlack = false)
    private int id;

    @Column(name = "name", isBlack = false, maxLen = 32)
    private String name;

    @Column(name = "login_name", isBlack = false, maxLen = 32)
    private String loginName;

    @Column(name = "birthday")
    private Date birthday;
}
